package suncertify.db;

import com.bodgittandscarper.broker.types.Record;

/**
 * 
 * This Exception is thrown by the {@link Data} to indicate a {@link Record} already exist with equal 
 * data fields.
 * 
 * @author mhr
 *
 */
public class DuplicateKeyException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * Constructs a DuplicateKeyException.
	 */
	public DuplicateKeyException() {
		super();//zero argument constructor
	}
	
	/**
	 * Constructs a DuplicateKeyException with the specified description.
	 * 
	 * @param description
	 */
	public DuplicateKeyException(String description) {
		super(description);
	}
	
}